package com.xxxx.server.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName student_transcript
 */
@Data
public class StudentTranscript implements Serializable {
    /**
     * 主键id
     */
    private Integer stId;

    /**
     * 学生id
     */
    private Integer stUserId;

    /**
     * 学号
     */
    private String stUsername;

    /**
     * 姓名
     */
    private String stName;

    /**
     * 课程id
     */
    private Integer stItmId;

    /**
     * 课程编码
     */
    private String itmUUid;

    /**
     * 课程名称
     */
    private String stItmTitle;

    /**
     * 作业总数
     */
    private Integer stTkCount;

    /**
     * 完成总数
     */
    private Integer stCompleteCount;

    /**
     * 平均分
     */
    private Double stAverage;

    /**
     * 总分
     */
    private Double stTotalScore;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date stEndTime;

    private static final long serialVersionUID = 1L;
}
